projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2da99f
)
tests: Fix teststack "add icon" button
author
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 14:27:41 +0000
(19:27 +0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 14:27:41 +0000
(19:27 +0500)
tests/teststack.c
patch
|
blob
|
history
diff --git
a/tests/teststack.c
b/tests/teststack.c
index 00b21226a4d4e0b4d63a319888b342be64cab8bd..dbbb2194674756af19d7895bf63a2bb089972b9a 100644
(file)
--- a/
tests/teststack.c
+++ b/
tests/teststack.c
@@
-37,7
+37,7
@@
toggle_icon_name (GtkWidget *button, gpointer data)
gboolean active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
GtkStackPage *page;
- page = gtk_stack_get_page (GTK_STACK (
gtk_widget_get_parent (button)), button
);
+ page = gtk_stack_get_page (GTK_STACK (
stack), w1
);
g_object_set (page, "icon-name", active ? "edit-find-symbolic" : NULL, NULL);
}